import request from '@/utils/request.js'

// 加强版axios

export const get_cate_list = function () {
    return request.get('/api/get_cate_list')
}
export const get_article_list = function (data) {
    return request.post('/api/get_article_list', data)
}
//  发布
export const add_article = function (data) {
    return request.post('/api/add_article', data)
}
//  搜索
export const search = function (data) {
    return request.post('/api/search', data)
}
